package com.woniuxy.movice.entity;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class MainTheater {
	private Integer zid;
    private String zname;
    private Date endtime;//到期日期
    private String zlogo;
    private String acount;
    private String pass;
 	private String zaddress;//影院地址
 	private String tel;
 	private String zimg;//宣传图片
    private String zstate;//状态
    private String licence;//放映许可证
    private int tid;//套餐id
    private String zintroduce;//影院介绍
    private String dns;//域名
    private String representative;//法定代表人
    private String idnumber;//身份证号码
    
	public String getZaddress() {
		return zaddress;
	}
	public void setZaddress(String zaddress) {
		this.zaddress = zaddress;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getZimg() {
		return zimg;
	}
	public void setZimg(String zimg) {
		this.zimg = zimg;
	}
	public String getLicence() {
		return licence;
	}
	public void setLicence(String licence) {
		this.licence = licence;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	public String getZintroduce() {
		return zintroduce;
	}
	public void setZintroduce(String zintroduce) {
		this.zintroduce = zintroduce;
	}
	public String getDns() {
		return dns;
	}
	public void setDns(String dns) {
		this.dns = dns;
	}
	public String getRepresentative() {
		return representative;
	}
	public void setRepresentative(String representative) {
		this.representative = representative;
	}
	public String getIdnumber() {
		return idnumber;
	}
	public void setIdnumber(String idnumber) {
		this.idnumber = idnumber;
	}
	public Integer getZid() {
		return zid;
	}
	public void setZid(Integer zid) {
		this.zid = zid;
	}
	public String getZname() {
		return zname;
	}
	public void setZname(String zname) {
		this.zname = zname;
	}
	public Date getEndtime() {
		return endtime;
	}
	public void setEndtime(Date endtime) {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		String i= sdf.format(endtime);
		Date ii;
		try {
			ii = sdf.parse(i);
			this.endtime = ii;
		} catch (ParseException e) {
			e.printStackTrace();
		}
	}
	public String getZlogo() {
		return zlogo;
	}
	public void setZlogo(String zlogo) {
		this.zlogo = zlogo;
	}
	public String getAcount() {
		return acount;
	}
	public void setAcount(String acount) {
		this.acount = acount;
	}
	public String getPass() {
		return pass;
	}
	public void setPass(String pass) {
		this.pass = pass;
	}
}